/*
 * 软件版权: 恒生电子股份有限公司
 * 修改记录:
 * 修改日期     修改人员  修改说明
 * ========    =======  ============================================
 * 2021/4/9  lisy31662  新增
 * ========    =======  ============================================
 */
package com.sansi.pencilbook.service;

import com.sansi.pencilbook.DO.Result;
import com.sansi.pencilbook.entity.AmtJournal;

/**
 * 功能说明: 资金流水表服务接口
 *
 * @author lisy31662
 */
public interface AmtJournalServer {

  public Result getAmtJournalAll();

  public Result getAmtJournalByUser(int userId);

  public Result getAmtJournalByUserType(int userId, String type);

  public Result getAmtJournalByType(String type);

  public Result addAmtJournal(AmtJournal amtJournal);

  public Result takeOut(int userId, float amt, int counterparty, String time);

  public Result takeIn(int userId, float amt, int counterparty, String time);

}

